{"id":6258,"date":"2024-06-11T18:48:33","date_gmt":"2024-06-11T16:48:33","guid":{"rendered":"https:\/\/adsl_zapas.dkonto.pl\/?p=6258"},"modified":"2025-02-20T20:50:22","modified_gmt":"2025-02-20T19:50:22","slug":"offline-voice-recognition-sensor-dfrobot","status":"publish","type":"post","link":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/","title":{"rendered":"Offline Voice Recognition Sensor DFRobot"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/dfimg.dfrobot.com\/nobody\/wiki\/4f868c5f5b2b9ae909271b3865939655.png\" alt=\"https:\/\/dfimg.dfrobot.com\/nobody\/wiki\/4f868c5f5b2b9ae909271b3865939655.png\"\/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">Obs\u0142uga modu\u0142u<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">Uczenie  dodatkowej frazy wybudzaj\u0105cej<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Aby nauczy\u0107 modu\u0142 nowej frazy wybudzaj\u0105cej (zawsze aktywne pozostaje &#8220;<strong>Hello Robot!<\/strong>&#8220;) nale\u017cy po wywo\u0142aniu standardowym wyg\u0142osi\u0107 fraz\u0119: <strong>Learning wake word<\/strong>&#8220;. Nast\u0119pnie poda\u0107 nowe sformu\u0142owanie wybudzaj\u0105ce. Ja poda\u0142em <strong>Hello Jane. <\/strong>Trzeba to zrobi\u0107 trzykrotnie s\u0142uchaj\u0105c polece\u0144.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Biblioteka MicroPython<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Biblioteka lekko zmodyfikowana. W oryginalnej by\u0142 b\u0142\u0105d w metodzie<strong> get_cmdid()<\/strong>. Poprawiony przez <em><strong>Chat GPT<\/strong><\/em>.<br>Uwaga! Kody nie dzia\u0142aj\u0105 dla ESP8266. Prawdopodobnie problem tkwi w bibliotece I2C. Mo\u017ce trzeba u\u017cy\u0107 softI2C? Sprawdz\u0119.<br>Wszystko dobrze dzia\u0142a na ESP32.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; light: false; title: Kod:; toolbar: true; notranslate\" title=\"Kod:\">\nfrom micropython import const\nfrom machine import I2C, Pin\nfrom utime import sleep\n\n\nDF2301Q_I2C_ADDR = const(0x64)\n\n\nclass DFRobot_DF2301Q_I2C:\n    &quot;&quot;&quot;\n    MicroPython class for communication with the DF2301Q from DFRobot via I2C\n    &quot;&quot;&quot;\n\n    DF2301Q_I2C_REG_CMDID = const(0x02)\n    DF2301Q_I2C_REG_PLAY_CMDID = const(0x03)\n    DF2301Q_I2C_REG_SET_MUTE = const(0x04)\n    DF2301Q_I2C_REG_SET_VOLUME = const(0x05)\n    DF2301Q_I2C_REG_WAKE_TIME = const(0x06)\n    DF2301Q_I2C_8BIT_RANGE = const(0xFF)\n    DF2301Q_I2C_PLAY_CMDID_DURATION = const(1)\n\n    def __init__(self, sda, scl, i2c_addr=DF2301Q_I2C_ADDR, i2c_bus=0):\n        &quot;&quot;&quot;\n        Initialize the DF2301Q I2C communication\n        :param sda: I2C SDA pin\n        :param scl: I2C SCL pin\n        :param i2c_addr: I2C address\n        :param i2c_bus: I2C bus number\n        &quot;&quot;&quot;\n        self._addr = i2c_addr\n\n        try:\n            self._i2c = I2C(i2c_bus, sda=Pin(sda), scl=Pin(scl))\n        except Exception as err:\n            print(f&#039;Could not initialize i2c! bus: {i2c_bus}, sda: {sda}, scl: {scl}, error: {err}&#039;)\n\n    def _write_reg(self, reg, data) -&gt; None:\n        &quot;&quot;&quot;\n        Writes data to the I2C register\n        :param reg: register address\n        :param data: data to write\n        :return: None\n        &quot;&quot;&quot;\n        if isinstance(data, int):\n            data = &#x5B;data]\n\n        try:\n            self._i2c.writeto_mem(self._addr, reg, bytearray(data))\n        except Exception as err:\n            print(f&#039;Write issue: {err}&#039;)\n\n    def _read_reg(self, reg, length) -&gt; bytes:\n        &quot;&quot;&quot;\n        Reads data from the I2C register\n        :param reg: register address\n        :param length: number of bytes to read\n        :return: bytes\n        &quot;&quot;&quot;\n        try:\n            result = self._i2c.readfrom_mem(self._addr, reg, length)\n        except Exception as err:\n            print(f&#039;Read issue: {err}&#039;)\n            result = bytearray(length)\n\n        return result\n\n    def get_cmdid(self) -&gt; int:\n        &quot;&quot;&quot;\n        Returns the current command id\n        :return: int\n        &quot;&quot;&quot;\n        data = self._read_reg(self.DF2301Q_I2C_REG_CMDID, 1)\n        return int(data&#x5B;0])\n\n    def get_wake_time(self) -&gt; int:\n        &quot;&quot;&quot;\n        Returns the current wake-up duration\n        :return: int\n        &quot;&quot;&quot;\n        data = self._read_reg(self.DF2301Q_I2C_REG_WAKE_TIME, 1)\n        return int(data&#x5B;0])\n\n    def play_by_cmdid(self, cmdid: int) -&gt; None:\n        &quot;&quot;&quot;\n        Play the current command words by command id\n        :param cmdid: command words as integer\n        :return: None\n        &quot;&quot;&quot;\n        self._write_reg(self.DF2301Q_I2C_REG_PLAY_CMDID, int(cmdid))\n        sleep(self.DF2301Q_I2C_PLAY_CMDID_DURATION)\n\n    def set_wake_time(self, wake_time: int) -&gt; None:\n        &quot;&quot;&quot;\n        Set the wake-up duration of the device\n        :param wake_time: integer between 0 and 255\n        :return: None\n        &quot;&quot;&quot;\n        wake_up_time = int(wake_time) &amp; self.DF2301Q_I2C_8BIT_RANGE\n        self._write_reg(self.DF2301Q_I2C_REG_WAKE_TIME, wake_up_time)\n\n    def set_volume(self, vol: int) -&gt; None:\n        &quot;&quot;&quot;\n        Set the volume of the device\n        :param vol: integer between 1 and 7\n        :return: None\n        &quot;&quot;&quot;\n        self._write_reg(self.DF2301Q_I2C_REG_SET_VOLUME, int(vol))\n\n    def set_mute_mode(self, mode) -&gt; None:\n        &quot;&quot;&quot;\n        Set the mute mode of the device\n        :param mode: integer 0 for off, 1 for on\n        :return: None\n        &quot;&quot;&quot;\n        self._write_reg(self.DF2301Q_I2C_REG_SET_MUTE, int(bool(mode)))\n\n\n\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Kod programu wy\u015bwietlaj\u0105cego na konsoli numery komend g\u0142osowych<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; light: false; title: Kod:; toolbar: true; notranslate\" title=\"Kod:\">\nfrom DFRobot_DF2301Q_I2C import DFRobot_DF2301Q_I2C\nfrom micropython import const\nfrom utime import sleep\n\n\nSDA_PIN = const(21)\nSCL_PIN = const(22)\nSLEEP_SECONDS = const(3)\n\n\ndef setup(sensor) -&gt; None:\n    &quot;&quot;&quot;\n    Set up the DFRobot DF2301Q sensor\n    :param sensor: instance of DFRobot_DF2301Q_I2C\n    :return: None\n    &quot;&quot;&quot;\n    sensor.set_volume(5)\n    sensor.set_mute_mode(0)\n    sensor.set_wake_time(20)\n\n\ndef get_cmd_id(sensor) -&gt; int:\n    &quot;&quot;&quot;\n    Get the command id from the DF2301Q sensor\n    :param sensor: instance of DFRobot_DF2301Q_I2C\n    :return: int\n    &quot;&quot;&quot;\n    command_id = sensor.get_cmdid()\n    return command_id if command_id != 0 else None\n\n\nif __name__ == &quot;__main__&quot;:\n    try:\n        voice_sensor = DFRobot_DF2301Q_I2C(sda=SDA_PIN, scl=SCL_PIN)\n        setup(sensor=voice_sensor)\n\n        print(&#039;Speak your commands:&#039;)\n\n        while True:\n            cmd_id = get_cmd_id(sensor=voice_sensor)\n\n            if cmd_id is not None:\n                print(f&#039;COMMAND ID: {cmd_id}&#039;)\n\n            sleep(SLEEP_SECONDS)\n    except Exception as e:\n        print(f&#039;Initialization error: {e}&#039;)\n\n\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">LINKI<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Oficjalna biblioteka Arduino:\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/DFRobot\/DFRobot_DF2301Q\">https:\/\/github.com\/DFRobot\/DFRobot_DF2301Q<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Dokumentacja:\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/wiki.dfrobot.com\/SKU_SEN0539-EN_Gravity_Voice_Recognition_Module_I2C_UART\" title=\"\">https:\/\/wiki.dfrobot.com\/SKU_SEN0539-EN_Gravity_Voice_Recognition_Module_I2C_UART<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Biblioteka MicroPython (<strong>uwaga, b\u0142\u0105d!<\/strong>):\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/Lupin3000\/Micropython-I2C-DF2301Q\" title=\"\">https:\/\/github.com\/Lupin3000\/Micropython-I2C-DF2301Q<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>NerdCave, MicroPython\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/nerdcave.xyz\/docs\/tutorials\/gravity-offline-language-learning-voice-recognition-sensor\/\" title=\"\">https:\/\/nerdcave.xyz\/docs\/tutorials\/gravity-offline-language-learning-voice-recognition-sensor\/<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u0179r\u00f3d\u0142a:<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">Konfiguracja i dzia\u0142anie<\/h2>\n\n\n\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/GcZpXVAkt4U?si=GZ5j0JGRzXxIbynO\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n\n\n\n<h2 class=\"wp-block-heading\">Trening<\/h2>\n\n\n\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/6yKBlNiXV4Q?si=BrsOFJ1wGF-r41Y-\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n\n\n\n<h2 class=\"wp-block-heading\">Inne<\/h2>\n\n\n\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/RLhK_yZynYI?si=WN2fvoe1Gp8s554c\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n\n\n\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/XlILfn9Z7H8?si=R20W27_IW0S_qURM\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n","protected":false},"excerpt":{"rendered":"<p>Obs\u0142uga modu\u0142u Uczenie dodatkowej frazy wybudzaj\u0105cej Aby nauczy\u0107 modu\u0142 nowej frazy wybudzaj\u0105cej (zawsze aktywne pozostaje &#8220;Hello Robot!&#8220;) nale\u017cy po wywo\u0142aniu standardowym wyg\u0142osi\u0107 fraz\u0119: Learning wake word&#8220;. Nast\u0119pnie poda\u0107 nowe sformu\u0142owanie&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2,153,80,65],"tags":[],"class_list":["post-6258","post","type-post","status-publish","format-standard","hentry","category-arduino","category-arduino-ide","category-esp32","category-programowanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Obs\u0142uga modu\u0142u Uczenie dodatkowej frazy wybudzaj\u0105cej Aby nauczy\u0107 modu\u0142 nowej frazy wybudzaj\u0105cej (zawsze aktywne pozostaje &quot;Hello Robot!&quot;) nale\u017cy po wywo\u0142aniu standardowym wyg\u0142osi\u0107 fraz\u0119: Learning wake word&quot;. Nast\u0119pnie poda\u0107 nowe sformu\u0142owanie wybudzaj\u0105ce. Ja poda\u0142em Hello Jane. Trzeba to zrobi\u0107 trzykrotnie s\u0142uchaj\u0105c polece\u0144. Biblioteka MicroPython Biblioteka lekko zmodyfikowana. W oryginalnej by\u0142 b\u0142\u0105d w metodzie get_cmdid(). Poprawiony przez\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"yarogniew_anpl\"\/>\n\t<link rel=\"canonical\" href=\"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"pl_PL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Arduino dla strasznych lamer\u00f3w - www.arduino.net.pl\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Offline Voice Recognition Sensor DFRobot - Arduino dla strasznych lamer\u00f3w\" \/>\n\t\t<meta property=\"og:description\" content=\"Obs\u0142uga modu\u0142u Uczenie dodatkowej frazy wybudzaj\u0105cej Aby nauczy\u0107 modu\u0142 nowej frazy wybudzaj\u0105cej (zawsze aktywne pozostaje &quot;Hello Robot!&quot;) nale\u017cy po wywo\u0142aniu standardowym wyg\u0142osi\u0107 fraz\u0119: Learning wake word&quot;. Nast\u0119pnie poda\u0107 nowe sformu\u0142owanie wybudzaj\u0105ce. Ja poda\u0142em Hello Jane. Trzeba to zrobi\u0107 trzykrotnie s\u0142uchaj\u0105c polece\u0144. Biblioteka MicroPython Biblioteka lekko zmodyfikowana. W oryginalnej by\u0142 b\u0142\u0105d w metodzie get_cmdid(). Poprawiony przez\" \/>\n\t\t<meta property=\"og:url\" content=\"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-06-11T16:48:33+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-02-20T19:50:22+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Offline Voice Recognition Sensor DFRobot - Arduino dla strasznych lamer\u00f3w\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Obs\u0142uga modu\u0142u Uczenie dodatkowej frazy wybudzaj\u0105cej Aby nauczy\u0107 modu\u0142 nowej frazy wybudzaj\u0105cej (zawsze aktywne pozostaje &quot;Hello Robot!&quot;) nale\u017cy po wywo\u0142aniu standardowym wyg\u0142osi\u0107 fraz\u0119: Learning wake word&quot;. Nast\u0119pnie poda\u0107 nowe sformu\u0142owanie wybudzaj\u0105ce. Ja poda\u0142em Hello Jane. Trzeba to zrobi\u0107 trzykrotnie s\u0142uchaj\u0105c polece\u0144. Biblioteka MicroPython Biblioteka lekko zmodyfikowana. W oryginalnej by\u0142 b\u0142\u0105d w metodzie get_cmdid(). Poprawiony przez\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/offline-voice-recognition-sensor-dfrobot\\\/#blogposting\",\"name\":\"Offline Voice Recognition Sensor DFRobot - Arduino dla strasznych lamer\\u00f3w\",\"headline\":\"Offline Voice Recognition Sensor DFRobot\",\"author\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/author\\\/yarogniew_anpl\\\/#author\"},\"publisher\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/dfimg.dfrobot.com\\\/nobody\\\/wiki\\\/4f868c5f5b2b9ae909271b3865939655.png\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/offline-voice-recognition-sensor-dfrobot\\\/#articleImage\"},\"datePublished\":\"2024-06-11T18:48:33+02:00\",\"dateModified\":\"2025-02-20T20:50:22+01:00\",\"inLanguage\":\"pl-PL\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/offline-voice-recognition-sensor-dfrobot\\\/#webpage\"},\"isPartOf\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/offline-voice-recognition-sensor-dfrobot\\\/#webpage\"},\"articleSection\":\"Arduino, Arduino IDE, ESP32, PROGRAMOWANIE\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/offline-voice-recognition-sensor-dfrobot\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/elektronika\\\/#listItem\",\"name\":\"ELEKTRONIKA\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/elektronika\\\/#listItem\",\"position\":2,\"name\":\"ELEKTRONIKA\",\"item\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/elektronika\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/elektronika\\\/arduino\\\/#listItem\",\"name\":\"Arduino\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/elektronika\\\/arduino\\\/#listItem\",\"position\":3,\"name\":\"Arduino\",\"item\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/elektronika\\\/arduino\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/offline-voice-recognition-sensor-dfrobot\\\/#listItem\",\"name\":\"Offline Voice Recognition Sensor DFRobot\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/elektronika\\\/#listItem\",\"name\":\"ELEKTRONIKA\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/offline-voice-recognition-sensor-dfrobot\\\/#listItem\",\"position\":4,\"name\":\"Offline Voice Recognition Sensor DFRobot\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/elektronika\\\/arduino\\\/#listItem\",\"name\":\"Arduino\"}}]},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/#person\",\"name\":\"yarogniew_anpl\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/offline-voice-recognition-sensor-dfrobot\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"yarogniew_anpl\"}},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/author\\\/yarogniew_anpl\\\/#author\",\"url\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/author\\\/yarogniew_anpl\\\/\",\"name\":\"yarogniew_anpl\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/offline-voice-recognition-sensor-dfrobot\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"yarogniew_anpl\"}},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/offline-voice-recognition-sensor-dfrobot\\\/#webpage\",\"url\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/offline-voice-recognition-sensor-dfrobot\\\/\",\"name\":\"Offline Voice Recognition Sensor DFRobot - Arduino dla strasznych lamer\\u00f3w\",\"description\":\"Obs\\u0142uga modu\\u0142u Uczenie dodatkowej frazy wybudzaj\\u0105cej Aby nauczy\\u0107 modu\\u0142 nowej frazy wybudzaj\\u0105cej (zawsze aktywne pozostaje \\\"Hello Robot!\\\") nale\\u017cy po wywo\\u0142aniu standardowym wyg\\u0142osi\\u0107 fraz\\u0119: Learning wake word\\\". Nast\\u0119pnie poda\\u0107 nowe sformu\\u0142owanie wybudzaj\\u0105ce. Ja poda\\u0142em Hello Jane. Trzeba to zrobi\\u0107 trzykrotnie s\\u0142uchaj\\u0105c polece\\u0144. Biblioteka MicroPython Biblioteka lekko zmodyfikowana. W oryginalnej by\\u0142 b\\u0142\\u0105d w metodzie get_cmdid(). Poprawiony przez\",\"inLanguage\":\"pl-PL\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/#website\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/offline-voice-recognition-sensor-dfrobot\\\/#breadcrumblist\"},\"author\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/author\\\/yarogniew_anpl\\\/#author\"},\"creator\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/author\\\/yarogniew_anpl\\\/#author\"},\"datePublished\":\"2024-06-11T18:48:33+02:00\",\"dateModified\":\"2025-02-20T20:50:22+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/#website\",\"url\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/\",\"name\":\"Arduino dla strasznych lamer\\u00f3w\",\"description\":\"www.arduino.net.pl\",\"inLanguage\":\"pl-PL\",\"publisher\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Offline Voice Recognition Sensor DFRobot - Arduino dla strasznych lamer\u00f3w","description":"Obs\u0142uga modu\u0142u Uczenie dodatkowej frazy wybudzaj\u0105cej Aby nauczy\u0107 modu\u0142 nowej frazy wybudzaj\u0105cej (zawsze aktywne pozostaje \"Hello Robot!\") nale\u017cy po wywo\u0142aniu standardowym wyg\u0142osi\u0107 fraz\u0119: Learning wake word\". Nast\u0119pnie poda\u0107 nowe sformu\u0142owanie wybudzaj\u0105ce. Ja poda\u0142em Hello Jane. Trzeba to zrobi\u0107 trzykrotnie s\u0142uchaj\u0105c polece\u0144. Biblioteka MicroPython Biblioteka lekko zmodyfikowana. W oryginalnej by\u0142 b\u0142\u0105d w metodzie get_cmdid(). Poprawiony przez","canonical_url":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/#blogposting","name":"Offline Voice Recognition Sensor DFRobot - Arduino dla strasznych lamer\u00f3w","headline":"Offline Voice Recognition Sensor DFRobot","author":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/author\/yarogniew_anpl\/#author"},"publisher":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/dfimg.dfrobot.com\/nobody\/wiki\/4f868c5f5b2b9ae909271b3865939655.png","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/#articleImage"},"datePublished":"2024-06-11T18:48:33+02:00","dateModified":"2025-02-20T20:50:22+01:00","inLanguage":"pl-PL","mainEntityOfPage":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/#webpage"},"isPartOf":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/#webpage"},"articleSection":"Arduino, Arduino IDE, ESP32, PROGRAMOWANIE"},{"@type":"BreadcrumbList","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl#listItem","position":1,"name":"Home","item":"http:\/\/adsl_zapas.dkonto.pl","nextItem":{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/elektronika\/#listItem","name":"ELEKTRONIKA"}},{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/elektronika\/#listItem","position":2,"name":"ELEKTRONIKA","item":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/elektronika\/","nextItem":{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/elektronika\/arduino\/#listItem","name":"Arduino"},"previousItem":{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl#listItem","name":"Home"}},{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/elektronika\/arduino\/#listItem","position":3,"name":"Arduino","item":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/elektronika\/arduino\/","nextItem":{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/#listItem","name":"Offline Voice Recognition Sensor DFRobot"},"previousItem":{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/elektronika\/#listItem","name":"ELEKTRONIKA"}},{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/#listItem","position":4,"name":"Offline Voice Recognition Sensor DFRobot","previousItem":{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/elektronika\/arduino\/#listItem","name":"Arduino"}}]},{"@type":"Person","@id":"http:\/\/adsl_zapas.dkonto.pl\/#person","name":"yarogniew_anpl","image":{"@type":"ImageObject","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g","width":96,"height":96,"caption":"yarogniew_anpl"}},{"@type":"Person","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/author\/yarogniew_anpl\/#author","url":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/author\/yarogniew_anpl\/","name":"yarogniew_anpl","image":{"@type":"ImageObject","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g","width":96,"height":96,"caption":"yarogniew_anpl"}},{"@type":"WebPage","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/#webpage","url":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/","name":"Offline Voice Recognition Sensor DFRobot - Arduino dla strasznych lamer\u00f3w","description":"Obs\u0142uga modu\u0142u Uczenie dodatkowej frazy wybudzaj\u0105cej Aby nauczy\u0107 modu\u0142 nowej frazy wybudzaj\u0105cej (zawsze aktywne pozostaje \"Hello Robot!\") nale\u017cy po wywo\u0142aniu standardowym wyg\u0142osi\u0107 fraz\u0119: Learning wake word\". Nast\u0119pnie poda\u0107 nowe sformu\u0142owanie wybudzaj\u0105ce. Ja poda\u0142em Hello Jane. Trzeba to zrobi\u0107 trzykrotnie s\u0142uchaj\u0105c polece\u0144. Biblioteka MicroPython Biblioteka lekko zmodyfikowana. W oryginalnej by\u0142 b\u0142\u0105d w metodzie get_cmdid(). Poprawiony przez","inLanguage":"pl-PL","isPartOf":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/#website"},"breadcrumb":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/#breadcrumblist"},"author":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/author\/yarogniew_anpl\/#author"},"creator":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/author\/yarogniew_anpl\/#author"},"datePublished":"2024-06-11T18:48:33+02:00","dateModified":"2025-02-20T20:50:22+01:00"},{"@type":"WebSite","@id":"http:\/\/adsl_zapas.dkonto.pl\/#website","url":"http:\/\/adsl_zapas.dkonto.pl\/","name":"Arduino dla strasznych lamer\u00f3w","description":"www.arduino.net.pl","inLanguage":"pl-PL","publisher":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/#person"}}]},"og:locale":"pl_PL","og:site_name":"Arduino dla strasznych lamer\u00f3w - www.arduino.net.pl","og:type":"article","og:title":"Offline Voice Recognition Sensor DFRobot - Arduino dla strasznych lamer\u00f3w","og:description":"Obs\u0142uga modu\u0142u Uczenie dodatkowej frazy wybudzaj\u0105cej Aby nauczy\u0107 modu\u0142 nowej frazy wybudzaj\u0105cej (zawsze aktywne pozostaje &quot;Hello Robot!&quot;) nale\u017cy po wywo\u0142aniu standardowym wyg\u0142osi\u0107 fraz\u0119: Learning wake word&quot;. Nast\u0119pnie poda\u0107 nowe sformu\u0142owanie wybudzaj\u0105ce. Ja poda\u0142em Hello Jane. Trzeba to zrobi\u0107 trzykrotnie s\u0142uchaj\u0105c polece\u0144. Biblioteka MicroPython Biblioteka lekko zmodyfikowana. W oryginalnej by\u0142 b\u0142\u0105d w metodzie get_cmdid(). Poprawiony przez","og:url":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/","article:published_time":"2024-06-11T16:48:33+00:00","article:modified_time":"2025-02-20T19:50:22+00:00","twitter:card":"summary_large_image","twitter:title":"Offline Voice Recognition Sensor DFRobot - Arduino dla strasznych lamer\u00f3w","twitter:description":"Obs\u0142uga modu\u0142u Uczenie dodatkowej frazy wybudzaj\u0105cej Aby nauczy\u0107 modu\u0142 nowej frazy wybudzaj\u0105cej (zawsze aktywne pozostaje &quot;Hello Robot!&quot;) nale\u017cy po wywo\u0142aniu standardowym wyg\u0142osi\u0107 fraz\u0119: Learning wake word&quot;. Nast\u0119pnie poda\u0107 nowe sformu\u0142owanie wybudzaj\u0105ce. Ja poda\u0142em Hello Jane. Trzeba to zrobi\u0107 trzykrotnie s\u0142uchaj\u0105c polece\u0144. Biblioteka MicroPython Biblioteka lekko zmodyfikowana. W oryginalnej by\u0142 b\u0142\u0105d w metodzie get_cmdid(). Poprawiony przez"},"aioseo_meta_data":{"post_id":"6258","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-06-11 16:45:00","updated":"2025-07-19 07:32:58","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/adsl_zapas.dkonto.pl\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/elektronika\/\" title=\"ELEKTRONIKA\">ELEKTRONIKA<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/elektronika\/arduino\/\" title=\"Arduino\">Arduino<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tOffline Voice Recognition Sensor DFRobot\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"http:\/\/adsl_zapas.dkonto.pl"},{"label":"ELEKTRONIKA","link":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/elektronika\/"},{"label":"Arduino","link":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/elektronika\/arduino\/"},{"label":"Offline Voice Recognition Sensor DFRobot","link":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/offline-voice-recognition-sensor-dfrobot\/"}],"_links":{"self":[{"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/posts\/6258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/comments?post=6258"}],"version-history":[{"count":30,"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/posts\/6258\/revisions"}],"predecessor-version":[{"id":6430,"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/posts\/6258\/revisions\/6430"}],"wp:attachment":[{"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/media?parent=6258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/categories?post=6258"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/tags?post=6258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}